package com.team24.hotel.mapper;

import com.team24.hotel.domain.Location;
import com.team24.hotel.domain.LocationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LocationMapper {

    long countByExample(LocationExample example);

    int deleteByExample(LocationExample example);

    int deleteByPrimaryKey(Integer hotelId);
    int insert(Location record);
    int insertSelective(Location record);
    List<Location> selectByExample(LocationExample example);

    Location selectByPrimaryKey(Integer hotelId);

    int updateByExampleSelective(@Param("record") Location record, @Param("example") LocationExample example);

    int updateByExample(@Param("record") Location record, @Param("example") LocationExample example);

    int updateByPrimaryKeySelective(Location record);

    int updateByPrimaryKey(Location record);

    Location LOCATION(@Param("hotelName")String hotelName,@Param("locationX") String locationX,@Param("locationY") String locationY);

}